﻿<Window x:Class="WpfCanvasExport.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto" />
            <RowDefinition  />
        </Grid.RowDefinitions>
        <WrapPanel>
            <Button Name="Export_one" Click="Export_one_Click" Content="Export n.0" />
            <Button Name="Export" Click="Export_Click" Content="Export" />
            <Button Name="Import" Click="Import_Click" Content="Import" />
        </WrapPanel>
        <Canvas Grid.Row="1" Name="canv" Height="290" Width="505" >
            <Rectangle Width="100" Height="100" Fill="Red" Stroke="Red" />
            <Rectangle Width="100" Height="100" Fill="Blue" Stroke="Blue" Canvas.Left="50" Canvas.Top="50" />
        </Canvas>
    </Grid>
</Window>
